TrademarksEOApi v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Email: Iberinform Web: Iberinform
Authentication
-
API Key (ClientSecretHeader)
- Parameter Name: X-IBM-Client-Secret, in: header. Unique token directly related to the client contract
-
API Key (APIKeyHeader)
- Parameter Name: X-IBM-Client-Id, in: header.
Default
get__trademarksEO_{organisationID}
Code samples
URL obj = new URL("https://$(catalog.host)/modules/trademarksEO/{organisationID}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
const headers = {
'Accept':'application/json',
'X-IBM-Client-Id':'API_KEY',
'X-IBM-Client-Secret':'API_KEY'
};
fetch('https://$(catalog.host)/modules/trademarksEO/{organisationID}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET https://$(catalog.host)/modules/trademarksEO/{organisationID} HTTP/1.1
Accept: application/json
'application/json',
'X-IBM-Client-Id' => 'API_KEY',
'X-IBM-Client-Secret' => 'API_KEY',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://$(catalog.host)/modules/trademarksEO/{organisationID}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
import requests
headers = {
'Accept': 'application/json',
'X-IBM-Client-Id': 'API_KEY',
'X-IBM-Client-Secret': 'API_KEY'
}
r = requests.get('https://$(catalog.host)/modules/trademarksEO/{organisationID}', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json',
'X-IBM-Client-Id' => 'API_KEY',
'X-IBM-Client-Secret' => 'API_KEY'
}
result = RestClient.get 'https://$(catalog.host)/modules/trademarksEO/{organisationID}',
params: {
}, headers: headers
p JSON.parse(result)
# You can also use wget
curl -X GET https://$(catalog.host)/modules/trademarksEO/{organisationID} \
-H 'Accept: application/json' \
-H 'X-IBM-Client-Id: API_KEY' \
-H 'X-IBM-Client-Secret: API_KEY'
GET /trademarksEO/{organisationID}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organisationID | path | string | true | identificador de la firma |
| language | query | string | false | Idioma generación |
Example responses
200 Response
"{"nd":"string","registros_marcas":{"registro":[{"calificador":"string","claves_niza":{"registro":[{"actividad":"string","clave":"string"}]},"estado":"string","expediente":"string","fecha_actualizacion":"string","fecha_concesion":"string","fecha_renovacion":"string","fecha_solicitud":"string","nombre":"string","ruta_imagen":"string"}]},"registros_nombres_comerciales":{"registro":[{"calificador":"string","claves_niza":{"registro":[{"actividad":"string","clave":"string"}]},"estado":"string","expediente":"string","fecha_actualizacion":"string","fecha_concesion":"string","fecha_renovacion":"string","fecha_solicitud":"string","nombre":"string","ruta_imagen":"string"}]}}"
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | 200 OK | TradeDetail |
| 401 | Unauthorized | Unauthorized | ErrorDetail |
| 403 | Forbidden | Forbidden | ErrorDetail |
| 404 | Not Found | Recurso no encontrado | ErrorDetail |
| 500 | Internal Server Error | Internal error | ErrorDetail |
Schemas
ErrorDetail
"{"code":"string","message":"string","principal":"string","status":0}"
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| code | string | false | none | none |
| message | string | false | none | none |
| principal | string | false | none | none |
| status | number | false | none | none |
TradeDetail
"{"nd":"string","registros_marcas":{"registro":[{"calificador":"string","claves_niza":{"registro":[{"actividad":"string","clave":"string"}]},"estado":"string","expediente":"string","fecha_actualizacion":"string","fecha_concesion":"string","fecha_renovacion":"string","fecha_solicitud":"string","nombre":"string","ruta_imagen":"string"}]},"registros_nombres_comerciales":{"registro":[{"calificador":"string","claves_niza":{"registro":[{"actividad":"string","clave":"string"}]},"estado":"string","expediente":"string","fecha_actualizacion":"string","fecha_concesion":"string","fecha_renovacion":"string","fecha_solicitud":"string","nombre":"string","ruta_imagen":"string"}]}}"
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| nd | string | false | none | none |
| registros_marcas | object | false | none | none |
| registro | [object] | false | none | none |
| calificador | string | false | none | none |
| claves_niza | object | false | none | none |
| registro | [object] | false | none | none |
| actividad | string | false | none | none |
| clave | string | false | none | none |
| estado | string | false | none | none |
| expediente | string | false | none | none |
| fecha_actualizacion | string | false | none | none |
| fecha_concesion | string | false | none | none |
| fecha_renovacion | string | false | none | none |
| fecha_solicitud | string | false | none | none |
| nombre | string | false | none | none |
| ruta_imagen | string | false | none | none |
| registros_nombres_comerciales | object | false | none | none |
| registro | [object] | false | none | none |
| calificador | string | false | none | none |
| claves_niza | object | false | none | none |
| registro | [object] | false | none | none |
| actividad | string | false | none | none |
| clave | string | false | none | none |
| estado | string | false | none | none |
| expediente | string | false | none | none |
| fecha_actualizacion | string | false | none | none |
| fecha_concesion | string | false | none | none |
| fecha_renovacion | string | false | none | none |
| fecha_solicitud | string | false | none | none |
| nombre | string | false | none | none |
| ruta_imagen | string | false | none | none |